import React, { Component } from 'react'
import { Layout, Menu, Icon } from 'antd'
import { NavLink } from 'react-router-dom'

const { SubMenu, Item } = Menu;
const { Sider } = Layout;
import styles from './index.css'

export default class NavBar extends Component {
  render() {
    return (
      <Sider width={200} className={styles.skider}>
        <Menu
          mode="inline"
          defaultSelectedKeys={['1']}
          defaultOpenKeys={['sub1']}
          theme="dark"
          className={styles.menu}
        >
        
          <SubMenu key="sub1" title={<span><Icon type="user" />用户管理</span>}>
            <Item key="1">
              option1
            </Item>
          </SubMenu>

        </Menu>
      </Sider>
    )
  }
}


